﻿using System;
using Newtonsoft.Json;
using View;
using ZWFrameWork;

public class HallManager : SingletonInstance<HallManager>
{
    public ushort wRoomKindID;

    public ushort _gameKindId;

    /// <summary>
    /// InitData
    /// </summary>
    public override void InitData()
    {
        _gameKindId = 200;
        wRoomKindID = 0;
    }

    /// <summary>
    /// ClearData
    /// </summary>
    public override void ClearData()
    {
        _gameKindId = 200;
        wRoomKindID = 0;
    }
    
    /// <summary>
    /// SetlUserScore
    /// </summary>
    /// <param name="userScore"></param>
    public void SetlUserScore(double userScore)
    {
        GlobalUserItem.lUserScore = userScore;
    }

    public void SetlUserlDiamond(long diamond)
    {
        GlobalUserItem.lUserDiamond = diamond;
    }
}